package com.objetdirect.gwt.umlapi.client.emul.impl;

import com.objetdirect.gwt.umlapi.client.emul.def.Color;

public class TatamiColor implements Color {

	private com.objetdirect.tatami.client.gfx.Color _member;

	public TatamiColor(int red, int green, int blue, int alpha) {
		_member = new com.objetdirect.tatami.client.gfx.Color(red, green, blue,
				alpha);
	}

	public TatamiColor(com.objetdirect.tatami.client.gfx.Color strokeColor) {
		_member = strokeColor;
	}

	@Override
	public Object getInnerObject() {

		return _member;
	}

	@Override
	public int getRed() {

		return _member.getRed();
	}

	@Override
	public String toHex() {
		return _member.toHex();
	}

	@Override
	public int getGreen() {
		return _member.getGreen();
	}

	@Override
	public int getBlue() {
		return _member.getBlue();
	}

}
